Placing radioBox on separate line

I have another item that my customer would like to add to his script.  He would like to add a dialog containing a radioBox with 3 choices.  I have been working with the radioBox example from the reference manual, but can't figure out how to get the selections to appear on the line below the text that describes it.  In the example, it has:

DB dinnerBox = create("Dinner");
string meals[] = {"Pizza", "Pasta", "Burger", "Tacos"};
DBE dinnerRadio = radioBox(dinnerBox, "Main Course: ", meals, 2);

void placeOrder(DB dinnerBox) {
    int i = get dinnerRadio;
    string mealStr = meals[i];
    ack "Ordering " mealStr " now!";
}
apply(dinnerBox, "Order", placeOrder);
show dinnerBox;

When the dialog appears, the list of meal choices appear in the same line as the words "Main Course: ".  I've tried adding \n's (the usual newline character) within the string "Main Course: " to place the choices on a separate line, but the choices still appear in the same line.  How would I make the list of meals display under the text?

 

Chris


Christopher Cote - Tue Jun 18 12:11:39 EDT 2019

Re: Placing radioBox on separate line
O.Wilkop - Tue Jun 18 13:07:49 EDT 2019

Add a label() with the text "Main Course:" and leave the label for the radiobox empty.